﻿<cfscript>
/** 
* ORM ChooseTurn
* 
* @hint "Hibernate persistenter t_choose_turn. XB/XKLC-2006 《选课轮次代码》" 
* 
*/ 

component 
	displayname="public.service.orm.senate.ChooseTurn" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="ChooseTurn" 
	table="t_choose_turn"
	{

	property type="string" name="TurnID" column="ct" fieldtype="id" generator="assigned" hint="选课轮次";

	property type="string" name="TurnName" column="turn" hint="选课轮次名称";
	property type="string" name="DateStart" column="date_start" hint="该轮选课开始日期";
	property type="string" name="DateEnd" column="date_end" hint="该轮选课结束日期";
	property type="string" name="TimeStart" column="time_start" hint="当天选课开始时间";
	property type="string" name="TimeEnd" column="time_end" hint="当天选课结束时间";

	property type="string" name="GradesAllowed" column="grade_allowed" hint="允许选课年级";
	property type="string" name="InstituteAllowed" column="institute_allowed" hint="允许选课学院";
	property type="string" name="SubjectAllowed" column="subject_allowed" hint="允许选课专业";
	
	property type="string" name="TurnProp" column="turn_prop" hint="该轮次选课相关属性";
	
}

</cfscript>